﻿@model ApCMS.Models.CompanyModels
@{
    ViewBag.Title = "公司简介";
}
<div id="heroBanner">
    <a href="#">
        <img alt="" src="@Url.Content("~/Themes/ymdz/Content/images/banner.jpg")" /></a>
</div>
@if (Model != null)
{
    if (Model.CompanyProfileList != null)
    {
    <div class="boxContainer grid_9 alpha omega">
        <h2>
            公司简介列表</h2>
        <div class="grid_9 omega">
            <div class="box above">
                <ul>
                    @foreach (var list in Model.CompanyProfileList)
                    {
                        <li><a href="@Url.Action("ViewDetails", "Company", new { companyId = list.ID })" style="color:#555;">@(list.Title)
                        </a></li>                               
                    }
                </ul>
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
    
    }
}
@if (Model != null)
{
    if (Model.CompanyProfile != null)
    {
    <div class="boxContainer grid_9 alpha omega">
        <h2>
            @(Model.CompanyProfile.Title)
        </h2>
        <div class="grid_9 omega">
            <div class="box above">
                <div class="postList">
                    <div class="post last">
                        <p>
                            @Html.Raw(Model.CompanyProfile.Content)</p>
                    </div>
                </div>
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
    }
}